Extending Dagster example with Type Contracts - #359
Draft
drin wants to merge 3 commits into
Draft
Conversation
Extend dagster example using assets instead of op/jobs
This adds a version of the `account_summary` pipeline (learning example of bauplan with dagster) that uses type contracts. This example shows the following: - Adding schema definitions - Shows docstrings on schema classes - Shows TableField usage with `lineage` and `doc` - Add type contract annotations to models - All models have return type annotations (output models) - All input models use `Read` - Some input models use `Filter` - Some input models use pushdown projections
This commit is just to visualize the before and after difference of type contracts. This commit should be dropped before merging (or reverted if merged), so that we can preserve a "before type contracts" and "after type contracts" example, especially for the purposes of explaining how to migrate once type contracts are actually released.
giacomopiccinini
force-pushed
the
giacomo/extend-dagster
branch
from
July 21, 2026 11:27
8945848 to
8d91cd8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a version of the
account_summarypipeline (learning example of bauplan with dagster) that uses type contracts. This example shows the following:lineageanddocReadFilterAdditionally, a secondary commit (c633652) shows the diff if applied to the original transformation pipeline